home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 18
/
AMIGAplus Sonderheft 18 (1999)(ICP)(DE)[!].iso
/
PD
/
Spiele
/
AdomPPC
/
Adom_Install
next >
Wrap
Text File
|
1999-02-23
|
2KB
|
67 lines
;======================================================================
;
; Adom Install Script $VER: Install 1.12 (24.2.99)
;
; Copyright © 1999 Jochen Terstiege
;
;======================================================================
(set #hello "\nWelcome to the Adom Installation\n\n\Version 0.9.9 Gamma 12")
(set #select_destination "Where shall I create the Adom directory?")
(set #destination_help (cat "Choose a destination partition or directory. "
"A directory called 'Adom' will be created there."))
(set #install_to1 "\nInstall Adom to \"")
(set #install_to2 "\" ?")
(set #have_fun "Have fun with Adom...")
;======================================================================
; variables
;======================================================================
(set adom_source (pathonly @icon)) ; from where we were started
(set adom_drawer "Adom") ; destination drawer name
(set adom_dest "Work:") ; default destination
;======================================================================
; welcome
;======================================================================
(message #hello)
;======================================================================
; select destination
;======================================================================
(set adom_dest
(askdir
(prompt #select_destination)
(default "Work:")
(help #destination_help)
)
)
(set adom_dest (tackon adom_dest adom_drawer))
(set @default-dest adom_dest)
;======================================================================
; make directory
;======================================================================
(if (not (exists adom_dest))
(
(message (cat #install_to1 adom_dest #install_to2))
(makedir adom_dest (infos))
)
)
;======================================================================
; copy files
;======================================================================
(complete 0)
(copyfiles (source (tackon adom_source "Adom")) (dest adom_dest) (all))
(complete 100)
(exit #have_fun)